<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/css/struct_info.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/submitter.js"></script>
<script src="${staticServer}/inc/js/infopad.js?2.2"></script>

<link rel="stylesheet" href="${staticServer}/css/consultant_client.css" />
	
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<script src="${staticServer}/inc/js/datepicker.js"></script>

<style>
#SWFUpload_0{
	margin-top: 70px;
    margin-left: 10px;
}
table tr>th {
    text-align: left;
}
</style>
<script>


var add_Period = function(){
    var recruit_result_id = $("#recruit_result_id").val();
	var observation1 = $("#observation1").val();
	var evaluation1 = $("#evaluation1").val();
	var type1 = $("#type1").val();
	var observation2 = $("#observation2").val();
	var evaluation2 = $("#evaluation2").val();
	var type2 = $("#type2").val();
	var observation3 = $("#observation3").val();
	var evaluation3 = $("#evaluation3").val();
	var type3= $("#type3").val();
	var observation5 = $("#observation5").val();
	var evaluation5 = $("#evaluation5").val();
	
	$.post("${contextPath}/recruitment/addrecruitmentresultday.json", {
		    "recruit_result_id":recruit_result_id,
		    "observation1":observation1,
		    "evaluation1":evaluation1,
		    "type1":type1,
		    "observation2":observation2,
		    "evaluation2":evaluation2,
		    "type2":type2,
		    "observation3":observation3,
		    "evaluation3":evaluation3,
		    "type3":type3,
		    "observation5":observation5,
		    "evaluation5":evaluation5
		}, function(ms) {
		   var msg = ms.msg;
		   if(msg!=null && msg=="1"){
			   infopad.msg("操作成功！");
			   window.location.href="${contextPath}/recruitment/recruitment_result_list.htm";
		   }else if(msg!=null && msg=="2"){
		       infopad.err("操作失败");
		       window.location.href="${contextPath}/recruitment/recruitment_result_list.htm";
		   }
			
	});
}

</script>
</head>
<input type="hidden" id="recruit_result_id" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.recruit_result_id}</#if>">
<body>
	<div id="home_link">
		<ul>
			<li></li>
			<li>&gt;</li>
			<li>组织架构</li>
			<li>&gt;</li>
			<li class="current">title</li>
		</ul>
	</div>

	<div id="container">
		<div id="title">添加招聘反馈情况</div>
		<table id="infotable">
		   <tr>
			    <th>反馈问题点</th>
			    <th>具体沟通及观察</th>
			    <th>评价反馈</th>
			    <th>评论级别</th>
			</tr>
		   
			<tr>
				<th>企业认可度:</th>
				<td><input id="observation1" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.observation1}</#if>"  /></td>
				<td><input id="evaluation1" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.evaluation1}</#if>"  /></td>
				<td>
					<select id="type1" >
	            		<option value="">请选择</option>
						<option value="1">高</option>
						<option value="2">一般</option>
						<option value="3">差</option>
	            	</select>	
				</td>	
			<tr>
			<tr>
				<th>学习能力:</th>
				<td><input id="observation2" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.accreditation2}</#if>"  /></td>
				<td><input id="evaluation2" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.evaluation2}</#if>"  /></td>
				<td>
					<select id="type2" >
	            		<option value="">请选择</option>
						<option value="1">高</option>
						<option value="2">一般</option>
						<option value="3">差</option>
	            	</select>	
				</td>	
			</tr>
				<tr>
				<th>工作态度:</th>
				<td><input id="observation3" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.observation3}</#if>"  /></td>
				<td><input id="evaluation3" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.evaluation3}</#if>"  /></td>
				<td>
					<select id="type3" >
	            		<option value="">请选择</option>
						<option value="1">高</option>
						<option value="2">一般</option>
						<option value="3">差</option>
	            	</select>	
				</td>	
			</tr>
			<tr>
				<th>学员关怀:</th>
				<td><input id="observation5" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.observation5}</#if>"  /></td>
				<td><input id="evaluation5" type="text" value="<#if tgRecruitmentResultDay??>${tgRecruitmentResultDay.evaluation5}</#if>"  /></td>
				
			</tr>
				
			
		</table>
		
		<div id="controlbar">
			<input type="button" class="submit" onclick="add_Period()" value="  保  存  " />
		</div>
	</div>
	
</body>
</html>